package com.bestcem.xm.ticket.service.manager.record.param;

import com.bestcem.xm.ticket.enums.TicketEventEnum;
import com.bestcem.xm.ticket.enums.TicketStatusEnum;
import com.bestcem.xm.ticket.enums.TicketTypeEnum;
import lombok.AccessLevel;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 工单进度记录 跟进/审核 工具类基础入参
 *
 * @author XiaoYunSong <ys.xiao@idiaoyan.com>
 * @version v1.0
 * @date 2021/8/18 15:12
 */
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Data
public abstract class BaseTicketRecordParam {
    /**
     * orgId
     */
    private String orgId;
    /**
     * roleId
     */
    private String roleId;
    /**
     * userId
     */
    private String userId;
    /**
     * 处理人
     */
    private String userName;
    /**
     * 层级名
     */
    private String regionName;
    /**
     * 工单id
     */
    private String ticketId;
    /**
     * source
     */
    private Integer source;
    /**
     * 工单日志标题
     */
    private String title;
    /**
     * content
     */
    private String content;
    /**
     * status
     */
    private TicketStatusEnum status;
    /**
     * type; 原ttype
     */
    private TicketTypeEnum type;

    /**
     * 工单转派原因
     */
    private String reason;
    
    /**
     * 
     */
    private String regionId;

    /**
     * event
     */
    public abstract TicketEventEnum getEvent();
}
